/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header, footer {
    background: rgb(12,6,52);
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

/* Navbar Styles */
nav {
    background: #ff6600;
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 800px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    padding: 10px 0;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    .dropdown-content {
        min-width: 100%;
    }

    nav a {
        margin: 5px 0;
    }
}

/* Main Content Area */
.content, .content-section {
    padding: 20px;
    background-color: #ffffff;
    margin: 20px auto;
    max-width: 1400px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Content Item */
.content-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-item h2 {
    margin-top: 0;
    font-size: 24px;
    color: #003366;
}

.content-item p, .content-item ul, .content-item ol {
    margin: 10px 0;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form label {
    font-weight: bold;
}

form input, form select, form textarea, form button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background-color: #003366;
    color: #ffffff;
    cursor: pointer;
}

form button:hover {
    background-color: #005599;
}

/* Footer Styles */
footer {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover {
    color: #ff6600;
    transform: scale(1.1);
}

/* Accessibility Improvements */
:focus {
    outline: 2px solid #ff6600;
    outline-offset: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }
}

/* Header Logo Styles */
.header-logo {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 175px;
}

/* Additional Responsive Styles */
@media (max-width: 992px) {
    .content, .content-section {
        padding: 15px;
        margin: 15px auto;
    }

    .content-item h2 {
        font-size: 22px;
    }

    form input, form select, form textarea, form button {
        padding: 8px;
    }

    .dropdown-content {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .content, .content-section {
        padding: 10px;
        margin: 10px auto;
    }

    .content-item h2 {
        font-size: 20px;
    }

    form input, form select, form textarea, form button {
        padding: 6px;
    }

    .dropdown-content {
        min-width: 100%;
    }

    .header-logo {
        height: 150px;
    }
}

/* Grundlegendes Styling für das Select-Element */
select#service {
    width: 100%; /* Breite des Dropdowns auf 100% setzen */
    padding: 10px; /* Innenabstand */
    font-size: 16px; /* Schriftgröße */
    border: 1px solid #ccc; /* Rahmenfarbe */
    border-radius: 5px; /* Abgerundete Ecken */
    background-color: #f9f9f9; /* Hintergrundfarbe */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Schatteneffekt */
    transition: border-color 0.3s, box-shadow 0.3s; /* Übergangseffekt */
}

/* Styling bei Fokus (wenn das Element ausgewählt wird) */
select#service:focus {
    border-color: #007BFF; /* Rahmenfarbe bei Fokus */
    box-shadow: 0 0 8px rgba(0,123,255,0.5); /* Schatteneffekt bei Fokus */
    outline: none; /* Standard-Umrandung entfernen */
}

/* Styling für die Optionen innerhalb des Dropdowns */
select#service option {
    padding: 10px; /* Innenabstand */
    background-color: #fff; /* Hintergrundfarbe */
    color: #333; /* Schriftfarbe */
}

